package com.yunxi.yunxicaiproject.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生出勤记录表
 * </p>
 *
 * @author azraelkaxi
 * @since 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ai_attendance")
public class AiAttendance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 出勤记录ID，主键，自增长
     */
    @TableId(value = "attendance_id", type = IdType.AUTO)
    private Integer attendanceId;

    /**
     * 学生ID
     */
    private String studentId;

    /**
     * 课表ID
     */
    private Integer scheduleId;

    /**
     * 考勤日期
     */
    private LocalDate date;

    /**
     * 出勤状态：0-缺席，1-出勤，2-迟到，3-早退，4-请假
     */
    private Integer status;

    /**
     * 备注信息
     */
    private String remark;


}
